﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace OL.FrameCore.Application.User.Dto
{
    public class GetUserModuleResponse
    {
        public int Id { get; set; }
        public List<UserModuleModel> UserModules { get; set; }
        public string UserModulesJsonText
        {
            get
            {
                if (UserModules == null)
                    return "[]";
                else
                    return JsonConvert.SerializeObject(UserModules);
            }
        }
    }
}
